import {get,post} from './api'
export const test = 'http://192.168.248.188';
// 登录
// export const requestLogin = params => { return post('/', params).then(res => res.data) }
export const device = () => { return get('/v1/thrift/device').then(res => res.data) }
export const adb = () => { return get('/v1/thrift/adb').then(res => res.data) }
export const atx = () => { return get('/v1/thrift/atx').then(res => res.data) }
export const act_run = params => { return post('/v1/thrift/actrun',params).then(res => res.data) }
export const devupdate = () => { return get('/v1/thrift/devup').then(res => res.data) }

export const orders = () => { return get('/v1/thrift/order').then(res => res.data) }

export const GetDevGroup = () => { return get('/v1/autopay/devgroup',).then(res => res.data) }

export const GetJob= () => { return get('/v1/autopay/getjobs',).then(res => res.data) }

export const ThriftJavaServer = () => { return get('/v1/thrift/ThriftJavaServer').then(res => res.data) } 

export const ThriftAtxServer = () => { return get('/v1/thrift/ThriftAtxServer').then(res => res.data) }

export const ThriftAdbServer = () => { return get('/v1/thrift/ThriftAdbServer').then(res => res.data) }

export const ThriftActServer = () => { return get('/v1/thrift/ThriftActServer').then(res => res.data) }

export const addcard = params => { return post('/v1/autopay/addcard',params).then(res => res.data) }


export const webSoket = params => { return post('/v1/websockit/get',params).then(res => res.data) }

export const ResParTest = params => { return post('/v1/project/test',params).then(res => res.data) }

export const orderlist = params => { return post('/v1/autopay/orderlist',params).then(res => res.data) }


export const addjob = params => { return post('/v1/autopay/addjob',params).then(res => res.data) }

export const getcloudfont = params => { return post('/v1/photo/getcloudfont',params).then(res => res.data) }

export const TIFlist = params => { return post('/v1/autopay/TIFList',params).then(res => res.data) }
// 安装字体记录

export const TIFSearch = params => { return post('/v1/autopay/TIFSearch',params).then(res => res.data) }

export const BuildCFont = params => { return post('/v1/photo/BuildCFont',params).then(res => res.data) }

export const GetQrcode = params => { return post('/v1/qr/GetQr',params).then(res => res.data) }

export const FontToDay = params => { return post('/v1/autopay/dfont',params).then(res => res.data) }

export const DayOrder = params => { return post('/v1/autopay/dayorder',params).then(res => res.data) }

export const Fontbyfrom = params => { return post('/v1/autopay/fontbyform',params).then(res => res.data) }

export const DevGroup = params => { return post('/v1/autopay/changeDev',params).then(res => res.data) }

export const TimeToStamp = params => { return post('/v1/transfer/tttstam',params).then(res => res.data) }

export const StampToTime = params => { return post('/v1/transfer/tttstr',params).then(res => res.data) }

export const uploadCheckAxios = params => { return post('/v1/api/uploadCheckAxios',params).then(res => res.data) }

export const uploadChunkAxios = params => { return post('/v1/api/uploadChunkAxios',params).then(res => res.data) }

export const mergeFileAxios = params => { return post('/v1/api/mergeFileAxios',params).then(res => res.data) }

export const addfont = params => { return post('/v1/api/addfont',params).then(res => res.data) }

export const proadd = params => { return post('/v1/project/add',params).then(res => res.data)}

export const getapiList = params => { return post('/v1/project/getapi',params).then(res => res.data) }

export const apidel = params => { return post('/v1/project/apidel',params).then(res => res.data) }

export const apiedt = params => { return post('/v1/project/apiedt',params).then(res => res.data) }

export const apiadd = params => { return post('/v1/project/apiadd',params).then(res => res.data) }

export const getpar = params => { return post('/v1/project/getpar',params).then(res => res.data) }

export const paradd = params => { return post('/v1/project/paradd',params).then(res => res.data)}

export const hosts = params => { return post('/v1/project/hosts',params).then(res => res.data)}

export const apirun = params => { return post('/v1/project/apirun',params).then(res => res.data)}

export const batchrun = params => { return post('/v1/project/batchrun',params).then(res => res.data)}

export const addser = params => { return post('/v1/project/addser',params).then(res => res.data)}

export const addhost = params => { return post('/v1/project/addhost',params).then(res => res.data)}

export const paredt = params => { return post('/v1/project/paredt',params).then(res => res.data) }

export const addgroup = params => { return post('/v1/project/addgroup',params).then(res => res.data) }

export const getserv = () => { return get('/v1/project/getserv').then(res => res.data)}

export const groups = () => { return get('/v1/project/groups').then(res => res.data)}

export const getpy = () => { return get('/v1/project/getpy').then(res => res.data) }

export const getptype = () => { return get('/v1/project/getptype').then(res => res.data) }

export const projects = () => { return get('/v1/project/get').then(res => res.data) }
export const masters = () => { return get('/v1/autopay/masters').then(res => res.data) }

export const historyInfo = () => { return get('/v1/project/historyInfo').then(res => res.data) }

export const histrecently = () => { return get('/v1/project/histrecently').then(res => res.data) }

export const historys = params => { return post('/v1/project/historys',params).then(res => res.data) }

export const historyTen = params => { return post('/v1/project/historyTen',params).then(res => res.data) }

export const runhistorys = params => { return post('/v1/project/runhistorys',params).then(res => res.data) }

export const apiSearch = params => { return post('/v1/project/apiSearch',params).then(res => res.data) }

export const searchHead = params => { return post('/v1/project/searchHead',params).then(res => res.data) }

export const AddHeader = params => { return post('/v1/project/AddHeader',params).then(res => res.data) }

export const headerUpdate = params => { return post('/v1/project/headerUpdate',params).then(res => res.data) }

export const apis = params => { return post('/v1/project/apis',params).then(res => res.data) }

export const appUpload = params => { return post('/v1/app/fileup',params).then(res => res.data) }

export const downFontrun = params => { return post('/v1/thrift/downFontrun',params).then(res => res.data) }

export const updateJob = params => { return post('/v1/autopay/updateJob',params).then(res => res.data) }

export const jobInfo = params => { return post('/v1/autopay/jobInfo',params).then(res => res.data) }

export const deljob = params => { return post('/v1/autopay/deljob',params).then(res => res.data) }

export const computerInfo = params => { return post('/v1/thrift/computerInfo',params).then(res => res.data) }

export const rebootApi = params => { return post('/v1/thrift/computerReboot',params).then(res => res.data) }